package com.tj.collection.enums;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-09-03
 * Time: 14:35
 */
public enum ReceiverStatusEnum {

    INIT(0, "等待分配"),
    ALLOCATE_SUCCESS(1, "分配完成"),
    COLLECTION_END(2, "催收结束"),
    PAUSED(3, "暂停分配");

    private Integer status;

    private String desc;

    ReceiverStatusEnum(Integer status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public ReceiverStatusEnum setStatus(Integer status) {
        this.status = status;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public ReceiverStatusEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }}
